ifeq (,$(wildcard ../config.mak))
$(error "config.mak is not present, run configure !")
endif
include ../config.mak

CONF_FILE  = "urobot.conf"
INITD_FILE = "urobot"

EXTRADIST = $(CONF_FILE) $(INITD_FILE)

all:

clean:

distclean:

install:
	$(INSTALL) -d $(sysconfdir)
	$(INSTALL) -m 644 $(CONF_FILE) $(sysconfdir)
	$(INSTALL) -d $(sysconfdir)/init.d
	$(INSTALL) -m 755 $(INITD_FILE) $(sysconfdir)/init.d

dist-all:
	cp $(EXTRADIST) $(SRCS) Makefile $(DIST)

.PHONY: clean disctlean install dist-all
